|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectrolesystem.roles.auction.Sale
public class Sale
This class represents the sale of a good. Instances of this class are constant, once created they cannot be changed.
| Constructor Summary | |
|---|---|
Sale(Price reserve,
java.lang.String goodDesc,
java.io.Serializable good)
|
|
| Method Summary | |
|---|---|
java.io.Serializable |
getGood()
Returns the good put on sale. |
java.lang.String |
getGoodDesc()
Returns the good description. |
Price |
getReserve()
Returns the reserve price. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Sale(Price reserve,
java.lang.String goodDesc,
java.io.Serializable good)
reserve - Reserve price.goodDesc - Good description.good - Good put on sale.| Method Detail |
|---|
public Price getReserve()
public java.lang.String getGoodDesc()
public java.io.Serializable getGood()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||